
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(1, 10)
y = x.reshape(-1, 1)
h = x * y
print(x,'\n',y,'\n',h)

plt.contourf(x.reshape(-1),
             y.reshape(-1),
             h)